package com.runmi.webchat.aftersale.web.common.controller;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.net.URI;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import io.swagger.annotations.ApiOperation;

/**
 * Home redirection to swagger api documentation 
 */
@Controller
public class SwaggerHomeController {
	
	@ApiOperation(value = "首页", notes = "首页", tags={ "首页", })
	@RequestMapping(value = "/sw")
	public String index() {
		System.out.println("swagger-ui.html");
		return "redirect:swagger-ui.html";
	}
}
